import {defineStore} from 'pinia';

export const useCountStore = defineStore('count',{
    actions: {
        increment(val){
            this.sum += val;
        }
    },
    // 存储数据的地方
    state(){
        return {
            sum: 6,
            school:'培立优',
            address:'三箭银苑',
        }
    }
});